FROM naturecloud.io/library/naturecloud-base

ENV NODE_PATH /node-v5.10.1-linux-x64/lib/node_modules
ENV ENCLOSEJS_KEY 53b3034a734ee60b4742082c5d781ccf29016ae03074ddd24088338d485a5d8f.6d0c7cd51ba249ea145481d357335cb81e0027f43184733a02c1c461073ded8d.2b97ef91
RUN mkdir -p /base
ADD package.json /base
ADD new-docker/bower.json /base
RUN cd /base && npm install
RUN cd /base &&  bower install  --allow-root